package com.lingo.a2b.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lingo.a2b.common.handler.ValueConvertHandler;
import com.lingo.a2b.model.entity.ValueConvert;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lingo
 * @since 2020-05-21
 */
public interface ValueConvertService extends IService<ValueConvert> {

    int registerHandler(String handlerName, byte[] clsBytes, Integer fprojectId);

    ValueConvertHandler getHandlerByCode(int code);

    List<ValueConvert> listByProjectId(int fprojectId);
}
